package com.zhanghaijun.createCode.bean;


import java.util.ArrayList;
import java.util.List;


public class Model {
	
	private String description;
	private String name;
	private Property keyProperty;
	private List<Property> properties = new ArrayList<Property>();

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public List<Property> getProperties() {
		return properties;
	}

	public void setProperties(List<Property> properties) {
		this.properties = properties;
	}
	
	public void addProperty(Property property) {
		this.properties.add(property);
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Property getKeyProperty() {
		return keyProperty;
	}

	public void setKeyProperty(Property keyProperty) {
		this.keyProperty = keyProperty;
	}

}
